﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Management;

namespace System.Peppers.Wmi
{
    /// <summary>
    /// Base class that includes a SettingID property
    /// </summary>
    public class CimSettingID : CimSetting
    {
        #region Static
        private static class WmiProperties
        {
            public const string SettingID = "SettingID";
        }
        #endregion

        internal CimSettingID(ManagementObject wmiObject)
            : base(wmiObject)
        { }

        /// <summary>
        /// Identifier by which the CIM_Setting object is known.
        /// </summary>
        public string SettingID
        {
            get { return Convert.ToString(this[WmiProperties.SettingID]); }
        }
    }
}